#ifndef SCENEITEM_H
#define SCENEITEM_H

#include "Object.h"
#include "Mob.h"

#include <QGraphicsItem>
#include <QtGui>

class SceneItem : public QGraphicsItem
{
    public:
        static const int RECTHEIGHT = 10;
        static const int RECTWIDTH = 10;

        SceneItem( Object* object )
            :o( object )
        {}

        QRectF boundingRect() const;

        void paint(QPainter *painter, const QStyleOptionGraphicsItem *option,
                   QWidget *widget);

    protected:
    private:
        Object* o;
};

#endif // SCENEITEM_H
